import { escloudHttp } from '@/utils/http/axios';
import { MyMenuModel } from './model/menuModel';

enum Api {
  MyMenu = '/organization/menu/myMenu',
}

/**
 * @description: getMyMenu
 */
export function getMyMenu() {
  return escloudHttp.get<MyMenuModel>(
    { url: Api.MyMenu + '?systemFlag=14' },
    { errorMessageMode: 'none' },
  );
}
